package com.tenghui.assisting.domain;

import java.math.BigDecimal;
import com.tenghui.common.annotation.Excel;
import lombok.*;
import com.tenghui.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
 * 订单产品对象 orders_products
 *
 * @author tenghui
 * @date 2025-11-02
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrdersProducts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单产品ID */
    private Long opId;

    /** 订单号 */
    @Excel(name = "订单号")
    private String ordersId;

    /** 产品ID */
    @Excel(name = "产品ID")
    private String productsId;

    /** 产品名称 */
    @Excel(name = "产品名称")
    @JsonProperty("productName")
    private String productsName;

    /** 产品图片 */
    @Excel(name = "产品图片")
    private String image;

    /** 规格 */
    @Excel(name = "规格")
    private String specs;

    /** 产地 */
    @Excel(name = "产地")
    private String origin;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** 数量 */
    @Excel(name = "数量")
    private Long quantity;


}
